import { request } from "./request";

/**
 * reqTopList()
 * @returns 所有榜单
 */
export function reqTopList() {
  return request({
    url: '/toplist'
  })
}

export function reqListDetail(id) {
  return request({
    url: '/playlist/track/all',
    params: {
      id
    }
  })
}